//获取oss签名
export const submitMaterialsApi = async () => {
	const {
		data: res
	} = await uni.$http.get('/api/aliyun/oss/policy')
	// console.log('res'+JSON.stringify(res))
	return res
}

// 获取监控视频流
export const reqGetPlayUrlApi = async () => {
	const {
		data: res
	} = await uni.$http.get('/api/miniApp/getPlayUrl')
	return res
}

// 失效播放地址
export const reqInvalidPlayApi = async (id) => {
	const {
		data: res
	} = await uni.$http.get(`/api/miniApp/invalidPlayUrl?id=${id}`)
	return res
}